﻿namespace BeepMaker
{
    static class Consts
    {
        public const int MAX_AMPLITUDE = 1000;
        public const int MIN_AMPLITUDE = 0;

        public const int MAX_FREQUENCY_IN_HERTZ = 20000;
        public const int MIN_FREQUENCY_IN_HERTZ = 1;

        public static int MAX_DURATION_IN_MILLISECONDS;
        public const int MIN_DURATION_IN_MILLISECONDS = 1;

        public static int MAX_INTERVAL_IN_MILLISECONDS;
        public const int MIN_INTERVAL_IN_MILLISECONDS = 1;

        static Consts()
        {
            MAX_INTERVAL_IN_MILLISECONDS = (int)new System.TimeSpan(1, 0, 0).TotalMilliseconds;
            MAX_DURATION_IN_MILLISECONDS = (int)new System.TimeSpan(0, 1, 0).TotalMilliseconds;
        }
    }
}
